package com.tfb.dao;

import com.tfb.rong.Users;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UsersMapper {
    int deleteByPrimaryKey(String id);

    int insert(Users record);

    int insertSelective(Users record);

    Users selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Users record);

    int updateByPrimaryKeyWithBLOBs(Users record);

    int updateByPrimaryKey(Users record);

    Users selectBindUserInfo(Users record);

    List<Users> selectAllUserInfoByStatusAndType(Users record);

    List<Users> selectByDeviceUserBind(String deviceMac);

    Users selectUserInfo(Users record);

    Users selectByLogin(@Param("email") String email, @Param("password") String password);

    int checkEmail(String email);

    int checkTel(String tel);

    Users selectUserInfoByOpenID(String openID);

    String getUserKeyword(Users record);
}
